From bb53feb6eccf3acc3cc41449509a22052691ef67 Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Fri, 22 Sep 2006 09:12:00 +0100 Subject: [PATCH] [HVM][VNC] Fix bug in the VNC copyrect implementation which crept in with the update backoff patch. Signed-off-by: Steven Smith --- tools/ioemu/vnc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/ioemu/vnc.c b/tools/ioemu/vnc.c index 1ec35e3bb8..317d069256 100644 --- a/tools/ioemu/vnc.c +++ b/tools/ioemu/vnc.c @@ -401,6 +401,9 @@ static void vnc_copy(DisplayState *ds, int src_x, int src_y, int dst_x, int dst_ (dst_y + h) > (vs->visible_y + vs->visible_h)) updating_client = 0; + if (updating_client) + _vnc_update_client(vs); + if (dst_y > src_y) { y = h - 1; pitch = -pitch; -- 2.30.2